package com.lsp.microcommon.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * (User)实体类
 *
 * @author makejava
 * @since 2024-06-21 11:35:47
 */
@Data
public class User implements Serializable {
    
    private Integer id;
    
    private String username;

    @JsonIgnore
    private String password;
    
    private String phone;
    
    private String sex;
    private String realName;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birth;
    /**
     * 头像路径
     */
    private String headPics;
    private Integer signFlag;

    private Integer point;

    private String idcard;
    private String email;
    
    private Date creatTime;
    
    private Date updateTime;


}

